//
//  FeedsDetailViewController.m
//  Qya
//
//  Created by maxwell pang on 12-9-10.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "FeedsDetailViewController.h"
#import "WholeContentViewController.h"

@interface FeedsDetailViewController ()

@end

@implementation FeedsDetailViewController
@synthesize wholePic;
@synthesize wholePic2;
@synthesize wholePic3;
@synthesize wholePic4;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

-(IBAction)onWholeContent:(id)sender
{
    WholeContentViewController *secondView = [[WholeContentViewController alloc] init]; 
    [self.navigationController pushViewController:secondView animated:YES]; 
    
    secondView.title = @"内容"; 
    [secondView.pic setImage:[UIImage imageNamed:@"ContentA@2x.jpg"]];
}


-(IBAction)onWholeContent2:(id)sender
{
    WholeContentViewController *secondView = [[WholeContentViewController alloc] init]; 
    [self.navigationController pushViewController:secondView animated:YES]; 
    
    secondView.title = @"内容"; 
    [secondView.pic setImage:[UIImage imageNamed:@"ContentB@2x.jpg"]];
}
-(IBAction)onWholeContent3:(id)sender
{
    WholeContentViewController *secondView = [[WholeContentViewController alloc] init]; 
    [self.navigationController pushViewController:secondView animated:YES]; 
    
    secondView.title = @"内容"; 
    [secondView.pic setImage:[UIImage imageNamed:@"ContentB@2x.jpg"]];
}
-(IBAction)onWholeContent4:(id)sender
{
    WholeContentViewController *secondView = [[WholeContentViewController alloc] init]; 
    [self.navigationController pushViewController:secondView animated:YES]; 
    
    secondView.title = @"内容"; 
    [secondView.pic setImage:[UIImage imageNamed:@"ContentA@2x.jpg"]];
}
@end
